# SPDX-License-Identifier: Apache-2.0

zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/dac.h)

zephyr_library()

zephyr_library_sources_ifdef(CONFIG_DAC_MCUX_LPDAC	dac_mcux_lpdac.c)
zephyr_library_sources_ifdef(CONFIG_DAC_MCUX_DAC	dac_mcux_dac.c)
zephyr_library_sources_ifdef(CONFIG_DAC_MCUX_DAC12	dac_mcux_dac12.c)
zephyr_library_sources_ifdef(CONFIG_DAC_MCUX_DAC32	dac_mcux_dac32.c)
zephyr_library_sources_ifdef(CONFIG_DAC_STM32		dac_stm32.c)
zephyr_library_sources_ifdef(CONFIG_DAC_SAM		dac_sam.c)
zephyr_library_sources_ifdef(CONFIG_DAC_SAM0		dac_sam0.c)
zephyr_library_sources_ifdef(CONFIG_DAC_SAMD5X		dac_samd5x.c)
zephyr_library_sources_ifdef(CONFIG_DAC_DAC161S997	dac_dac161s997.c)
zephyr_library_sources_ifdef(CONFIG_DAC_DACX0501	dac_dacx0501.c)
zephyr_library_sources_ifdef(CONFIG_DAC_DACX0508	dac_dacx0508.c)
zephyr_library_sources_ifdef(CONFIG_DAC_DACX3608	dac_dacx3608.c)
zephyr_library_sources_ifdef(CONFIG_DAC_LTC166X     dac_ltc166x.c)
zephyr_library_sources_ifdef(CONFIG_DAC_SHELL		dac_shell.c)
zephyr_library_sources_ifdef(CONFIG_DAC_MCP4725		dac_mcp4725.c)
zephyr_library_sources_ifdef(CONFIG_DAC_MCP4728		dac_mcp4728.c)
zephyr_library_sources_ifdef(CONFIG_DAC_GD32		dac_gd32.c)
zephyr_library_sources_ifdef(CONFIG_DAC_ESP32		dac_esp32.c)
zephyr_library_sources_ifdef(CONFIG_DAC_AD559X		dac_ad559x.c)
zephyr_library_sources_ifdef(CONFIG_DAC_AD56XX		dac_ad56xx.c)
zephyr_library_sources_ifdef(CONFIG_DAC_AD569X		dac_ad569x.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE		dac_handlers.c)
zephyr_library_sources_ifdef(CONFIG_DAC_MCUX_GAU	dac_mcux_gau.c)
zephyr_library_sources_ifdef(CONFIG_DAC_TEST		dac_test.c)
zephyr_library_sources_ifdef(CONFIG_DAC_MAX22017	dac_max22017.c)
zephyr_library_sources_ifdef(CONFIG_DAC_RENESAS_RA	dac_renesas_ra.c)
zephyr_library_sources_ifdef(CONFIG_DAC_SILABS_VDAC	dac_silabs_vdac.c)
